package trab3.msgs;

import java.awt.* ;
import sim.core.*;

public class SyncClockEvent1 extends Message {
	public double M0 ;
		
	public SyncClockEvent1( double t ) {
		super( false, Color.green ) ;
		M0 = t;
	}
		
	/* (non-Javadoc)
	 * <b>IMPORTANT!!!</b> Include a copy of this method in every class that extends Message
	 * @see sim.core.Message#deliverTo(sim.net.EndPoint, sim.core.MessageHandler)
	 */
	public void deliverTo( EndPoint src, MessageHandler handler ) {
		((ExtendedMessageHandler)handler).onReceive( src, this ) ;
	}
	
}
